package unit12;


public class PairTest1 {
	public static void main(String[] args) {
		String[] words={"Mike","Tony","Ben","Alice","Kim","Jemmy"};
		Pair<String> mm=ArrayAlg.minmax(words);
		System.out.println("min="+mm.getFirst());
		System.out.println("max="+mm.getSecond());
	}
}
